<template>
  <el-container class="about-container">
<!--  <el-aside width="200px">-->
<!--    <Aside></Aside>-->
<!--  </el-aside>-->
<!--  <el-container>-->
<!--    <el-header>-->
<!--      <Header></Header>-->
<!--    </el-header>-->
<!--    <el-main>-->
<!--      <el-divider></el-divider>-->
<!--      <router-view></router-view>-->
<!--    </el-main>-->
<!--  </el-container>-->
    <router-view></router-view>
</el-container>
</template>

<script>
import Aside from './components/Aside';
import Header from './components/Header';
export default {
  name: 'App',
  components:{
    Aside,
    Header,
  }

}
</script>

<style>
  .el-aside {
    background-color:black;
    color: #fff8f8;
    text-align: center;
    line-height: 60px;
    height: 100vh;
    position: sticky;
    top: 0px;
  }

  .el-card__body, .el-main {
    margin-left: 50px;
    margin-right: 50px;
    padding-top: 0px;
  }
  .el-header{
    margin-top: 10px;
    margin-left: 50px;
    margin-right: 50px;
  }

  body > .el-container {
  }

  .el-container:nth-child(5) .el-aside,
  .el-container:nth-child(6) .el-aside {
    line-height: 260px;
  }

  .el-container:nth-child(7) .el-aside {
    line-height: 320px;
  }

</style>
